package model

type User struct {
	ID           int64  `gorm:"primary_key;not_null;auto_increment"`
	UserName     string `gorm:"unique_index;not_null"`
	FirstName    string
	HashPassword string
}

func NewUser() *User {
	return &User{
		ID:           1,
		UserName:     "筱怪",
		FirstName:    "筱",
		HashPassword: "xxx",
	}
}
